#include "stdafx.h"

#include "system.h"
#include "functions.h"

int _tmain(int /*argc*/, _TCHAR* /*argv*/[])
{
	init();

	test( float( rand() ) );
	
	/*CPUCLOCKCOUNT( test );
	CPUCLOCKCOUNT( test );
	CPUCLOCKCOUNT( test );
	CPUCLOCKCOUNT( test );
	CPUCLOCKCOUNT( test2 );
	CPUCLOCKCOUNT( test2 );
	CPUCLOCKCOUNT( test2 );
	CPUCLOCKCOUNT( test2 );*/

	int i=2545;
	i++;

	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	i=2545;
	i++;
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	i=2545;
	i++;
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	i=2545;
	i++;
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );
	COMPARE_CPUCLOCKCOUNT( test, test2 );

	release();
	system( "PAUSE" );

	return 0;
}
